home *** CD-ROM | disk | FTP | other *** search
- /* SaveNoteText (note, fname)
-
- Create a file of the given name containing the text of the note.
- */
-
- call beginprompt('Working...')
-
- type = gettype(arg(1))
-
- if type ~= 'Note' & type ~= 'Button' then do
- say 'Object must be a note or button'
- exit
- end
-
- call savetext(arg(2), readnotetext(arg(1), 0, -1))
-